package com.bangdream.michelia.entity.exam;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @date on 2018/8/19 14:43
 * @email 909732184@qq.com
 * 试卷
 */
public class ExamBean  implements Parcelable{
    /**
     * id : 6984e02398d34bb7b5d1a903055d3719
     * userId : 1
     * delFlag : 0
     * pageNo : 1
     * pageSize : 100
     * orgId : a
     * appId : byl
     * isFree : 0
     * type : 1
     * typeLabel : 试卷
     * largeType : largeType2
     * largeTypeLabel : 练耳
     * level :
     * middleType : middleType2
     * middleTypeLabel : 旋律音程
     * point : 0.0100
     * title : 收费试卷-y
     * score : 100
     * passline : 80
     * time : 60
     * description : hello world
     * clickNumber : 4
     * faceUri : http://inesa-test.oss-cn-shanghai.aliyuncs.com/byl/1536129357798103430.png
     * visibleRange : 2
     * startDate : 2018-09-05 00:00:00
     * endDate : 2018-09-25 00:00:00
     * isPurchase : 0
     * avgScore : 0
     * userCntTest : 0
     * userAvgScore : 0
     * userScore : 0
     * examId :
     * examIdFinish :
     * cntQuestion : 4
     * remainTime : 1800
     */

    private String id;
    private String userId;
    private String delFlag;
    private int pageNo;
    private int pageSize;
    private String orgId;
    private String appId;
    private String isFree;
    private String type;
    private String typeLabel;
    private String largeType;
    private String largeTypeLabel;
    private String level;
    private String middleType;
    private String middleTypeLabel;
    private String point;
    private String title;
    private String score;
    private String passline;
    private String time;
    private String description;
    private int clickNumber;
    private String faceUri;
    private String visibleRange;
    private String startDate;
    private String endDate;
    private String isPurchase;
    private String avgScore;
    private String userCntTest;
    private String userAvgScore;
    private String userScore;
    private String examId;
    private String examIdFinish;
    private String cntQuestion;
    private String remainTime;
    private String canDuplication;
    private int isused2;
    private String isUsed;


    protected ExamBean(Parcel in) {
        id = in.readString();
        userId = in.readString();
        delFlag = in.readString();
        pageNo = in.readInt();
        pageSize = in.readInt();
        orgId = in.readString();
        appId = in.readString();
        isFree = in.readString();
        type = in.readString();
        typeLabel = in.readString();
        largeType = in.readString();
        largeTypeLabel = in.readString();
        level = in.readString();
        middleType = in.readString();
        middleTypeLabel = in.readString();
        point = in.readString();
        title = in.readString();
        score = in.readString();
        passline = in.readString();
        time = in.readString();
        description = in.readString();
        clickNumber = in.readInt();
        faceUri = in.readString();
        visibleRange = in.readString();
        startDate = in.readString();
        endDate = in.readString();
        isPurchase = in.readString();
        avgScore = in.readString();
        userCntTest = in.readString();
        userAvgScore = in.readString();
        userScore = in.readString();
        examId = in.readString();
        examIdFinish = in.readString();
        cntQuestion = in.readString();
        remainTime = in.readString();
        canDuplication = in.readString();
        isused2 = in.readInt();
        isUsed = in.readString();
    }

    public static final Creator<ExamBean> CREATOR = new Creator<ExamBean>() {
        @Override
        public ExamBean createFromParcel(Parcel in) {
            return new ExamBean(in);
        }

        @Override
        public ExamBean[] newArray(int size) {
            return new ExamBean[size];
        }
    };

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getIsFree() {
        return isFree;
    }

    public void setIsFree(String isFree) {
        this.isFree = isFree;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeLabel() {
        return typeLabel;
    }

    public void setTypeLabel(String typeLabel) {
        this.typeLabel = typeLabel;
    }

    public String getLargeType() {
        return largeType;
    }

    public void setLargeType(String largeType) {
        this.largeType = largeType;
    }

    public String getLargeTypeLabel() {
        return largeTypeLabel;
    }

    public void setLargeTypeLabel(String largeTypeLabel) {
        this.largeTypeLabel = largeTypeLabel;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getMiddleType() {
        return middleType;
    }

    public void setMiddleType(String middleType) {
        this.middleType = middleType;
    }

    public String getMiddleTypeLabel() {
        return middleTypeLabel;
    }

    public void setMiddleTypeLabel(String middleTypeLabel) {
        this.middleTypeLabel = middleTypeLabel;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getPassline() {
        return passline;
    }

    public void setPassline(String passline) {
        this.passline = passline;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getClickNumber() {
        return clickNumber;
    }

    public void setClickNumber(int clickNumber) {
        this.clickNumber = clickNumber;
    }

    public String getFaceUri() {
        return faceUri;
    }

    public void setFaceUri(String faceUri) {
        this.faceUri = faceUri;
    }

    public String getVisibleRange() {
        return visibleRange;
    }

    public void setVisibleRange(String visibleRange) {
        this.visibleRange = visibleRange;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getIsPurchase() {
        return isPurchase;
    }

    public void setIsPurchase(String isPurchase) {
        this.isPurchase = isPurchase;
    }

    public String getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(String avgScore) {
        this.avgScore = avgScore;
    }

    public String getUserCntTest() {
        return userCntTest;
    }

    public void setUserCntTest(String userCntTest) {
        this.userCntTest = userCntTest;
    }

    public String getUserAvgScore() {
        return userAvgScore;
    }

    public void setUserAvgScore(String userAvgScore) {
        this.userAvgScore = userAvgScore;
    }

    public String getUserScore() {
        return userScore;
    }

    public void setUserScore(String userScore) {
        this.userScore = userScore;
    }

    public String getExamId() {
        return examId;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }

    public String getExamIdFinish() {
        return examIdFinish;
    }

    public void setExamIdFinish(String examIdFinish) {
        this.examIdFinish = examIdFinish;
    }

    public String getCntQuestion() {
        return cntQuestion;
    }

    public void setCntQuestion(String cntQuestion) {
        this.cntQuestion = cntQuestion;
    }

    public String getRemainTime() {
        return remainTime;
    }

    public void setRemainTime(String remainTime) {
        this.remainTime = remainTime;
    }

    public String getCanDuplication() {
        return canDuplication;
    }

    public void setCanDuplication(String canDuplication) {
        this.canDuplication = canDuplication;
    }

    public int getIsused2() {
        return isused2;
    }

    public void setIsused2(int isused2) {
        this.isused2 = isused2;
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(id);
        parcel.writeString(userId);
        parcel.writeString(delFlag);
        parcel.writeInt(pageNo);
        parcel.writeInt(pageSize);
        parcel.writeString(orgId);
        parcel.writeString(appId);
        parcel.writeString(isFree);
        parcel.writeString(type);
        parcel.writeString(typeLabel);
        parcel.writeString(largeType);
        parcel.writeString(largeTypeLabel);
        parcel.writeString(level);
        parcel.writeString(middleType);
        parcel.writeString(middleTypeLabel);
        parcel.writeString(point);
        parcel.writeString(title);
        parcel.writeString(score);
        parcel.writeString(passline);
        parcel.writeString(time);
        parcel.writeString(description);
        parcel.writeInt(clickNumber);
        parcel.writeString(faceUri);
        parcel.writeString(visibleRange);
        parcel.writeString(startDate);
        parcel.writeString(endDate);
        parcel.writeString(isPurchase);
        parcel.writeString(avgScore);
        parcel.writeString(userCntTest);
        parcel.writeString(userAvgScore);
        parcel.writeString(userScore);
        parcel.writeString(examId);
        parcel.writeString(examIdFinish);
        parcel.writeString(cntQuestion);
        parcel.writeString(remainTime);
        parcel.writeString(canDuplication);
        parcel.writeInt(isused2);
        parcel.writeString(isUsed);
    }
}
